package com.dingreading.cloud.subject.service;

import com.dingreading.cloud.common.base.R;
import com.dingreading.cloud.subject.dto.SubjectLessonDto;
import com.dingreading.cloud.subject.dto.SubjectLessonListDto;
import com.dingreading.cloud.subject.dto.SubjectLessonVideoListDto;
import com.dingreading.cloud.subject.entity.SubjectLesson;
import com.mybatisflex.core.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface SubjectLessonService extends IService<SubjectLesson> {

    List<SubjectLessonListDto> getSubjectLessonNoUrl(Long subjectId);

    SubjectLessonDto getDtoById(Long uid);

    SubjectLessonDto dtoRelationByUid(String uid);

    SubjectLessonDto dtoByUid(String uid);

    SubjectLessonVideoListDto getVideoList(String uid);

    R<Object> getDouXueHuiVideoList(HttpServletRequest request, String corpUid, String storeUid, String storeName, String staffUid, String staffName, Long id);

    R<Object> getTeachVideoList(String uid);

}
